<ion-view hide-tabs="true" view-title="预约记录">

  <ion-nav-bar class="bar-stable bar-assertive" style="background-color:#be0008;">
    <ion-nav-back-button>
    </ion-nav-back-button>
  </ion-nav-bar>
    <div class="bar bar-subheader">
        <div class="buttons">
            <button class="button" ng-click="toPage('beforeDay')">前一天</button>
        </div>
        <h1 class="title">{{date}}</h1>
        <div class="buttons">
            <button class="button" ng-click="toPage('nextDay')">后一天</button>
        </div>
    </div>

  <ion-content class="has-header table-content">
      <ul class="list">
          <li class="item" ng-repeat="list in orders">
              <div class="font-webkit">
                  <div class="pdg-btm pdg-name">银行:{{list.remark}}</div>
                  <div class="pdg-btm">姓名:{{list.tuser.userName}}</div>
                  <div class="pdg-btm">电话:{{list.tuser.phone}}</div>
                  <div class="pdg-btm">身份证:{{list.tuser.cardId}}</div>
                  <div class="pdg-btm">时间:{{list.orderDate | date:'yyyy-MM-dd HH:mm'}}</div>
                  <div class="pdg-btm">
                      <span class="pad-10 back-blue">一元:{{list.yiYuanNum}}</span>
                      <span class="pad-10 back-Beige">五角:{{list.wuJiaoNum}}</span>
                      <span class="pad-10 back-pink">一角:{{list.yiJiaoNum}}</span>
                  </div>
                  <div class="bankType" ng-class="{'0':'','1':'yiling','2':'guoqi'}[list.orderStatus]"></div>
                  <div class="bank-submit" ng-click="confirmOrder($index)" ng-show="list.orderStatus==0">领取</div>
              </div>
          </li>
      </ul>
  </ion-content>
</ion-view>
